package com.qf.service;

import com.qf.pojo.DtsCategory;
import com.qf.vo.CatVo;

import java.util.List;
import java.util.Map;

/**
 * @author bss
 * @version V1.0
 * @Project maven
 * @Package com.qf.service
 * @Description:
 * @Date 2022/10/17 20:50
 */
public interface DtsCategoryService {

    List<CatVo> findCategoryList();

    DtsCategory findById(Integer categoryId);

    Map<String, Object> selectByPage(Integer page, Integer limit, String sort, String order, Integer id, String name);

    List<Map<String, Object>> findCategoryL1List();

    void update(DtsCategory category);

    void insert(DtsCategory category);

    void delete(DtsCategory category);
}
